{% extends "AdminSalarySysMenu/MainMain.html" %}
{% load staticfiles %}

{% block bodyhead %}

<body class="hold-transition skin-green-light sidebar-mini" onload="initPage();">

  {% endblock %}

  {% block AdminShow %}
  <li class="treeview active">
    <a href="#">
      <i class="fa fa fa-mouse-pointer"></i>
      <span> 申报审批</span>
      <span class="pull-right-container">
        <i class="fa fa-angle-right pull-right"></i>
      </span>
    </a>
    <ul class="treeview-menu">
      <li class="active"><a href="{% url 'GZGL:AdminShowReportWorking' %}"><i class="fa fa fa-circle-thin"></i>
          业绩申报审核</a></li>
      <li><a href="{% url 'GZGL:AdminShowReportSalary' %}"><i class="fa fa fa-circle-thin"></i> 工资申报审核</a></li>
      <li><a href="{% url 'GZGL:AdminShowReportSign' %}"><i class="fa fa fa-circle-thin"></i> 考勤申报审核</a></li>
      <li><a href="{% url 'GZGL:AdminShowReportOther' %}"><i class="fa fa fa-circle-thin"></i> 其他申报审核</a></li>
    </ul>
  </li>
  {% endblock %}
  {% block content %}
  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <section class="content-header">
      <h1>
        业务审核
        <small>业绩申报审核</small>
      </h1>
      <ol class="breadcrumb">
        <li><a href="#"><i class="fa fa-dashboard"></i> Level</a></li>
        <li class="active">Here</li>
      </ol>

    </section>

    <!-- Main content -->
    <section class="content container-fluid">

      <!--------------------------
        | Your Page Content Here |
        -------------------------->
      <div class="col-md-8">
        <!-- general form elements -->
        <div class="box">
          <div class="box-header with-border">
            <h3 class="box-title">业务申报单（业绩单）</h3>
            {% include 'SalarySysMenu/reference/ShowFinishBackInMark.html' %}
            <h3 class="box-title pull-right">&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp{{list.id}}</h3>
            

          </div>
          <!-- /.box-header -->

          <input type="hidden" name="showtype" id="exampleID" value="old">
          <div class="box-body">
            <div class="form-group col-xs-6">
              <label for="exampleID">申报代码</label>

              <input type="text" name="id" class="form-control" id="id" placeholder="申报代码" value="{{list.id}}" disabled>

            </div>
            <div class="form-group col-xs-6">
              <label for="exampleChargeman">业务名称</label>
              <input type="text" name="namefile" class="form-control" id="examplenamepro" placeholder="项目名称" value="{{list.ReportWorking_name}}"
                disabled>
            </div>
            <div class="form-group col-xs-4">
              <label for="exampleID">业务申报类型</label>
              <input type="text" class="form-control" id="type" value="{{list.ReportWorking_type}}" disabled>

            </div>
            <div class="form-group col-xs-4">
              <label for="exampleID">申报员工ID</label>

              <input type="text" name="reportid" class="form-control" id="staffID" placeholder="您的员工ID" value="{{list.ReportWorking_id}}"
                disabled>
            </div>
            <div class="form-group col-xs-4">
              <label for="exampleInputname">您的姓名</label>
              <input type="text" name="reportname" class="form-control" id="examplename" placeholder="您的姓名" value="{{list.ReportWorking_Manname}}"
                disabled>
            </div>
            <div class="form-group col-xs-4">
              <label for="exampleChargeman">业务负责人</label>
              <input type="text" name="chargeman" class="form-control" id="exampleChargeman" placeholder="项目负责人" value="{{list.ChargeMan}}"
                disabled>
            </div>

            <div class="form-group col-xs-4">
              <label for="inputBirthday">项目完成时间</label>
              <div class="input-group date">
                <div class="input-group-addon">
                  <i class="fa fa-calendar"></i>
                </div>
                <input type="text" name="finishtime" id="finishtime" class="form-control pull-right" placeholder="业务完成日期"
                  value="{{list.ReportWorking_WorkFinishDate}}" disabled>
              </div>
            </div>
            <div class="form-group col-xs-4">
              <label for="exampleInputname">项目涉及金额</label>
              <div class="input-group">
                <span class="input-group-addon"><i class="fa fa-rmb"></i></span>
                <input type="text" name="money" class="form-control" id="examplemoney" placeholder="项目涉及金额" value="{{list.ReportWorking_money}}"
                  disabled>
                <span class="input-group-addon">元</span>
              </div>
            </div>
            <div class="form-group col-xs-12">
              <label>业务内容描述</label>
              <textarea class="form-control" id="details" name="details" rows="3" disabled>{{list.WorkingState}}</textarea>
            </div>
            <div class="form-group col-xs-12">
              <label>备 注</label>
              <textarea class="form-control" id="backup" name="backup" rows="3" disabled>{{list.BackUpWord}}</textarea>
            </div>




          </div>
          <!-- /.box-body -->
          <!-- form start -->
          <form action="{% url 'GZGL:CheckedToSend' %}" method="POST">
            {% csrf_token %}
            <div class="box-footer">

              <button type="button" id="unpass" class="btn btn-danger" onclick="unpasspass()">驳回</button>

              <button type="button" id="pass" class="btn btn-success pull-right" onclick="passpass()">通过</button>
              <div id="adminwords">
                <div class="text-center">
                  <label id="checkmessage1" class="control-label">
                    <i class="fa  fa-close"></i> 您正在进行驳回申报操作，请填写批阅理由！ </label>
                  <label id="checkmessage2" class="control-label">
                    <i class="fa  fa-check"></i> 您正在进行通过申报操作，请填写批阅理由！ </label>
                </div>
                <div class="form-group col-xs-12">
                  <label> Admin批阅 </label>
                  <textarea class="form-control" id="adminbackup" name="adminminbackup" rows="3" onkeyup="buttonshow()"></textarea>
                </div>
                <input type="hidden" name="idddddd" class="form-control" id="idddddd" value="{{list.id}}">
                <input type="hidden" name="typetype" class="form-control" id="adminback" value="">
                <button type="reset" id="resetreset" class="btn btn-default pull-left m-b-21">重置</button>

                <button type="button" id="sa-submittt" class="btn btn-primary pull-right m-b-21" disabled>
                  确定</button>

              </div>
            </div>

          </form>

        </div>
        <!-- /.box -->
      </div>

    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->


  {% endblock %}

  {% block JSFile %}
  <!-- REQUIRED JS SCRIPTS -->

  <!-- jQuery 3 -->
  <script src="{% static 'bower_components/jquery/dist/jquery.min.js'%}" type="text/javascript"></script>
  <!-- Bootstrap 3.3.7 -->
  <script src="{% static 'bower_components/bootstrap/dist/js/bootstrap.min.js'%}" type="text/javascript"></script>

  <!-- AdminLTE App -->
  <script src="{% static 'dist/js/adminlte.min.js'%}" type="text/javascript"></script>

  <!-- Sweet-Alert  -->
  <script src="{% static 'bower_components/sweetalert/sweetalert.min.js'%}"></script>
  <script src="{% static 'js/Sweetalert_confirm.js'%}"></script>

  <!-- Optionally, you can add Slimscroll and FastClick plugins.
      Both of these plugins are recommended to enhance the
      user experience. -->

  <script>


  </script>
  {% endblock %}